#include <QCoreApplication>
#include <QDebug>
#include "rtspserver.h"
#include <QFile>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    RtspServer server;
    if (!server.start(554))
    {
        qCritical() << "Failed to start RTSP server";
        return -1;
    }
    qInfo() << "RTSP server running on rtsp://127.0.0.1:554";
    return a.exec();
}
